package com.yvon.maple.service.system.mapper;


import com.yvon.boot.mybatis.BaseMapper;
import com.yvon.maple.service.system.dto.UserRoleDTO;
import com.yvon.maple.service.system.entity.UserRole;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Collection;
import java.util.List;

/**
 *
 * @author : yvon
 * @time : 2020-8-1
 */
@Mapper
public interface UserRoleMapper extends BaseMapper<UserRole> {

    List<UserRoleDTO> getByUserIds(@Param("userIds") Collection<Long> userIds);
}
